package edu.zu.pojo;

import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
public class Orders {

    private Integer id;
    private String number;
    private String note;
    private Integer user_id;
    private LocalDate createTime;
    //一对一  一个订单对应一个用户
    private UserInfo info;

    //一对多的订单详情
    private List<OrderDetail> orderDetailList;


}
